package com.springboot.springautowired.javaDesignModel.responsibilityChainModel;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @author mac
 * @date 2021/9/18 5:22 下午
 */
@Data
public abstract class PayHandler {
    @Getter
    @Setter
    protected PayHandler next;

    public abstract void pay(String pay);
}
